std::fmod

From Cppreference

Jump to: navigation, search
Defined in header <cmath>

float       fmod( float x, float y );

double      fmod( double x, double y );

long double fmod( long double x, long double y );

Computes the remainder of the division operation ​x/y​.

Parameters

x, y - floating point values

Return value

remainder of dividing arguments

See also

div
ldiv
the quotient and remainder of integer division
(function)
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox
In other languages